<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>图标生成器</title>
    <style>
        body {
            margin: 0;
            padding: 20px;
            background: #f0f0f0;
            font-family: Arial, sans-serif;
        }
        
        .icon-container {
            display: inline-block;
            margin: 10px;
            text-align: center;
        }
        
        .icon {
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            position: relative;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .icon-16 {
            width: 16px;
            height: 16px;
        }
        
        .icon-32 {
            width: 32px;
            height: 32px;
        }
        
        .icon-48 {
            width: 48px;
            height: 48px;
        }
        
        .icon-content {
            color: white;
            font-weight: bold;
            position: relative;
        }
        
        .icon-16 .icon-content {
            font-size: 8px;
        }
        
        .icon-32 .icon-content {
            font-size: 16px;
        }
        
        .icon-48 .icon-content {
            font-size: 24px;
        }
        
        /* 网络拦截图标样式 */
        .network-icon {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .network-icon::before {
            content: '⚡';
            color: white;
            font-size: 60%;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        
        .icon-48 .network-icon::before {
            font-size: 70%;
        }
        
        .icon-32 .network-icon::before {
            font-size: 65%;
        }
        
        .icon-16 .network-icon::before {
            font-size: 50%;
        }
        
        /* 替代方案 - 使用Unicode符号 */
        .alt-icon::before {
            content: '🌐';
            font-size: 60%;
        }
        
        .alt-icon2::before {
            content: '🔧';
            font-size: 60%;
        }
        
        .alt-icon3::before {
            content: '⚙️';
            font-size: 60%;
        }
        
        label {
            display: block;
            margin-top: 5px;
            font-size: 12px;
        }
        
        .instructions {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
    </style>
</head>
<body>
    <div class="instructions">
        <h2>🎨 图标生成器</h2>
        <p>右键点击下面的图标，选择"另存为图片"或使用截图工具保存为PNG格式。</p>
        <p>建议使用浏览器的开发者工具截取精确尺寸的图标。</p>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-16">
            <div class="network-icon"></div>
        </div>
        <label>16x16 - ⚡闪电</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-32">
            <div class="network-icon"></div>
        </div>
        <label>32x32 - ⚡闪电</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-48">
            <div class="network-icon"></div>
        </div>
        <label>48x48 - ⚡闪电</label>
    </div>
    
    <br><br>
    
    <div class="icon-container">
        <div class="icon icon-16">
            <div class="alt-icon"></div>
        </div>
        <label>16x16 - 🌐地球</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-32">
            <div class="alt-icon"></div>
        </div>
        <label>32x32 - 🌐地球</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-48">
            <div class="alt-icon"></div>
        </div>
        <label>48x48 - 🌐地球</label>
    </div>
    
    <br><br>
    
    <div class="icon-container">
        <div class="icon icon-16">
            <div class="alt-icon2"></div>
        </div>
        <label>16x16 - 🔧扳手</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-32">
            <div class="alt-icon2"></div>
        </div>
        <label>32x32 - 🔧扳手</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-48">
            <div class="alt-icon2"></div>
        </div>
        <label>48x48 - 🔧扳手</label>
    </div>
    
    <br><br>
    
    <div class="icon-container">
        <div class="icon icon-16">
            <div class="alt-icon3"></div>
        </div>
        <label>16x16 - ⚙️齿轮</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-32">
            <div class="alt-icon3"></div>
        </div>
        <label>32x32 - ⚙️齿轮</label>
    </div>
    
    <div class="icon-container">
        <div class="icon icon-48">
            <div class="alt-icon3"></div>
        </div>
        <label>48x48 - ⚙️齿轮</label>
    </div>
    
    <script>
        // 添加右键保存功能提示
        document.querySelectorAll('.icon').forEach(icon => {
            icon.addEventListener('contextmenu', (e) => {
                console.log('右键点击图标，选择"另存为图片"');
            });
        });
    </script>
</body>
</html>
